package cn.xopencode.recordservice.rpc.kvoperation;

import cn.xopencode.common.framework.vo.CommonResult;
import cn.xopencode.common.framework.vo.PageResult;
import cn.xopencode.recordservice.rpc.kvoperation.dto.KvOperationRecordCreateDTO;
import cn.xopencode.recordservice.rpc.kvoperation.dto.KvOperationRecordPageDTO;
import cn.xopencode.recordservice.rpc.kvoperation.vo.KvOperationRecordPageVO;
import cn.xopencode.recordservice.rpc.robotroom.vo.RobotRoomRecordUpdateVO;

public interface KvOperationRecordRpc {
    /**
     * 新增10KV操作室巡检记录
     *
     * @param createDTO
     * @return
     */
    CommonResult<Integer> createKvOperationRecord(KvOperationRecordCreateDTO createDTO);

    /**
     * 获得10KV操作室巡检记录分页
     *
     * @param pageDTO
     * @return
     */
    CommonResult<PageResult<KvOperationRecordPageVO>> pageKvOperationRecord(KvOperationRecordPageDTO pageDTO);

    /**
     * 根据记录id获取10KV操作室巡检记录详情
     * @param id
     * @return
     */
    CommonResult<RobotRoomRecordUpdateVO> getKvOperationRecordById(String id);
}
